from ubuntu:22.04

run apt update
run apt install -y curl gcc

# 安装rust
run curl -s --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y 
env PATH=/root/.cargo/bin:$PATH 
run rustup default nightly

workdir /app
